package com.iwdnb.gkgz.application.vo;

/**
 * @author pengl
 * @date 2020/11/23
 */
public class RedisKeyUtil {

    public static String getStockItemKey(Long createId,Long composeId){
        return StockConstants.KEY_COMPOSE_STOCK_ITEM_PREFIX + createId + "-" + composeId;
    }

    public static String getComposeAssetKey(Long createId,Long composeId){
        return StockConstants.KEY_COMPOSE_ASSET_CACHE_PREFIX + createId + "-" + composeId;
    }

    public static String getComposeProfitKey(Long createId,Long composeId){
        return StockConstants.KEY_COMPOSE_TRADE_PROFIT_CACHE_PREFIX + createId + "-" + composeId;
    }
}
